package com.ruoyi.business.service;

import java.util.List;

import com.ruoyi.common.core.domain.TreeSelect;
import com.ruoyi.common.core.domain.entity.CustomerClass;
import com.ruoyi.common.core.domain.entity.SysDept;
import org.springframework.data.domain.Page;
import com.ruoyi.common.core.domain.entity.Customer;

/**
 * CustomerService接口
 *
 * @author liutietou
 * @since 1.0 2025-06-27
 */
public interface ICustomerService  {
    /**
     * 查询Customer
     *
     * @param ccuscode CustomerID
     * @return Customer
     */
    Customer findById(String ccuscode);

    /**
     * 分页查询Customer列表
     *
     * @param req Customer
     * @return Customer集合
     */
    Page<Customer> findCustomerPage(Customer req);


    List<Customer> findCustomer(Customer req);

    /**
     * 查询Customer列表
     *
     * @param req Customer
     * @return Customer集合
     */
    List<Customer> findCustomerList(Customer req);

    /**
     * 新增Customer
     *
     * @param customer Customer
     * @return 结果
     */
    void save(Customer customer);

    /**
     * 批量删除Customer
     *
     * @param ccuscodes 需要删除的CustomerID
     * @return 结果
     */
    void deleteByIds(List<String> ccuscodes);


}
